<template>
  <div>
    <router-view></router-view>
  </div>
</template>

<script lang="ts" setup>
import { onMounted } from "vue";
import { useAuthStore } from "@/store/modules/auth";
const authStore = useAuthStore();
// 在组件加载时调用并打印结果
onMounted(async () => {
  await authStore.getAuthMenuList();
});
</script>

<style lang="scss" scoped></style>
